public class Triangle {
    public static void main(String[] args){

        System.out.println("*");

        int n = 10;
        String output = "";
        for(int i = 1; i<= n; i++)
            output += "*";
        System.out.println(output);

        int m = 4;
        for(int i = 1; i<= m ; i++)
            System.out.println("*");

        int k = 5;
        for(int i = 1; i <=k; i++) {
            output = "";
            for (int j = 1; j <= i; j++) {
                output += "*";
            }
            System.out.println(output);
        }
    }
}